home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.3 Development Libraries / SGI IRIX 6.3 Development Libraries.iso / dist6.3 / gl_dev.idb / usr / share / src / OpenGL / toolkits / libglut / glutstroke.h.z / glutstroke.h
Encoding:
C/C++ Source or Header  |  1996-12-06  |  750 b   |  38 lines

  1. #ifndef __glutstroke_h__
  2. #define __glutstroke_h__
  3.  
  4. /* Copyright (c) Mark J. Kilgard, 1994, 1995, 1996. */
  5.  
  6. /* This program is freely distributable without licensing fees 
  7.    and is provided without guarantee or warrantee expressed or 
  8.    implied. This program is -not- in the public domain. */
  9.  
  10. typedef struct {
  11.   float x;
  12.   float y;
  13. } CoordRec, *CoordPtr;
  14.  
  15. typedef struct {
  16.   int num_coords;
  17.   CoordPtr coord;
  18. } StrokeRec, *StrokePtr;
  19.  
  20. typedef struct {
  21.   int num_strokes;
  22.   StrokePtr stroke;
  23.   float center;
  24.   float right;
  25. } StrokeCharRec, *StrokeCharPtr;
  26.  
  27. typedef struct {
  28.   char *name;
  29.   int num_chars;
  30.   StrokeCharPtr ch;
  31.   float top;
  32.   float bottom;
  33. } StrokeFontRec, *StrokeFontPtr;
  34.  
  35. typedef void *GLUTstrokeFont;
  36.  
  37. #endif /* __glutstroke_h__ */
  38.